package com.lei2j.org2;

/**
 * 具有飞行行为的A1鸭子子类
 * Created by lei2j on 2018/5/10.
 */
public class A1Duck extends Duck implements FlyAble{

    @Override
    public void display() {
        System.out.println("red.....");
    }

    @Override
    public void fly() {
        System.out.println("低空慢速飞行。。");
    }
}
